package com.umakr.ax;

import com.umakr.ax.core.Bootstrap;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @author gx
 * @since 2017/6/5
 */
@SpringBootApplication
@EnableAspectJAutoProxy(proxyTargetClass = true)
@EnableAutoConfiguration(exclude = {DataSourceAutoConfiguration.class})
public class DemoApp {
    public static void main( String[] args ){
//        SpringApplication.run(DemoApp.class,args);
        Bootstrap.run(DemoApp.class,args);
    }
}
